package Resources;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/*
 * Class Constant nằm trong package Comment
 * Class dùng để định nghĩa tọa độ của các dòng chữ, các ảnh, định nghĩa chiều
 * dài chiều rộng của ảnh, string...
 */


import javax.microedition.lcdui.Font;

/**
 *
 * @author QuyetNM1
 */
public class Constant {
    public static final Font    fontButton                = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_MEDIUM);
    public static final int SCR_PLAY_START = 5;
    public static final int SCR_PLAY_END = 5;
    public static final int SCR_W = 320;
    public static final int SCR_H = 240;
    public static final int SCR_X = 320;
    public static final int SCR_Y = 240;
    //splash
    public static final int ti_DELAY_SPLASH = 2000;
    public static final int txt_sound_x = 48;
    public static final int txt_sound_y = 72;   
    //menu
    public static final int bg_other_y = 0;
    public static final int menu_x = 0;
    public static final int menu_y = 0;
    public static final int menu1_x = 177;
    public static final int menu1_y = 58;
    public static final int menu2_x = 147;
    public static final int menu2_y = 52;
    public static final int menu_d = 25;
    //HighScore
    public static final int txt_score_y = 10;
    public static final int score_stt_x = 80;
    public static final int score_name_x = 100;
    public static final int score_number_x = 200;
    public static final int score_y = 92;
    public static final int score_d = 20;
    //Setting
    public static final int MAX_VOLUME = 100;
    public static final int MIN_VOLUME = 0;
    public static final int DEFAULT_VOLUME = 40;
    public static final int txt_setting_y = 10;
    public static final int seek_bar_x = 40;
    public static final int seek_bar_y = 130;
    public static final int seek_bar_d = 130;
    public static final int sound_x = 110;
    public static final int sound_y = 130;
    //guide
    public static final int txt_guide_y = 10;
    public static final int guide_y = 68;
    //about
    public static final int txt_about_y = 10;
    public static final int about_y = 63;
    //exit
    public static final int ti_DELAY_EXIT = 2000;
    public static final int txt_exit_x = 48;
    public static final int txt_exit_y = 72;
    //pause, next, win, game_over
    public static final int frame_x = 30;
    public static final int frame_y = 50;
    public static final int buttFrameRight_x = 328;
    public static final int buttFrameRight_y = 234;
    public static final int buttFrameLeft_x = 52;
    public static final int buttFrameLeft_y = 234;
    public static final int txt_frame_x = 48;
    public static final int txt_frame_y = 52;

    //GamePlay
    public static final int ti_DELAY_WIN = 40;
    public static final int score_bonus = 50;
    public static final int score_bonus_congra = 1000;
    public static final int score_loss = 200;
    public static final int buttPause_x = 373;
    public static final int buttPause_y = 294;
    public static final int buttPause_w = 92;
    public static final int buttPause_h = 26;

    //Text box
    public static final int tbox_score_x = 134;
    public static final int tbox_score_y = 51;
    public static final int tbox_name_x = 106;
    public static final int tbox_name_y = 78;
}
